Automatic, evolutionary test data generation for dynamic software testing
نویسندگان
چکیده
This paper proposes a dynamic test data generation framework based on genetic algorithms. The framework houses a Program Analyser and a Test Case Generator, which intercommunicate to automatically generate test cases. The Program Analyser extracts statements and variables, isolates code paths and creates control flow graphs. The Test Case Generator utilises two optimisation algorithms, the Batch-Optimistic (BO) and the Close-Up (CU), and produces a near to optimum set of test cases with respect to the edge/condition coverage criterion. The efficacy of the proposed approach is assessed on a number of programs and the empirical results indicate that its performance is significantly better compared to existing dynamic test data generation methods. 2008 Elsevier Inc. All rights reserved.
منابع مشابه
Optimizing Cost Function in Imperialist Competitive Algorithm for Path Coverage Problem in Software Testing
Search-based optimization methods have been used for software engineering activities such as software testing. In the field of software testing, search-based test data generation refers to application of meta-heuristic optimization methods to generate test data that cover the code space of a program. Automatic test data generation that can cover all the paths of software is known as a major cha...
متن کاملReview of Automatic Test Case Generation from UML Diagram using Evolutionary Algorithm
Software testing plays a vital role in software development life cycle. An approach of testing which takes place at design phase can remove errors in the system and improvise the developed project. Automatic test case generation can be used for testing software or real time applications. Many evolutionary algorithms are used for generating test case automatically. This paper represent review of...
متن کامل$xwrpdwlff7hvww'dwdd*hqhudwlrqqiru6wuxfwxudoo7hvwlqjjri(pehgghg 6riwzduhh6\vwhpvve\\(yroxwlrqdu\\7hvwlqj ,1752'8&7,21
Testing is the most important analytic quality assurance measure for software. The systematic design of test cases is crucial for test quality. Structureoriented test methods, which define test cases on the basis of the internal program structures, are widely used. Evolutionary testing is a promising approach for the automation of structural test case design which searches test data that fulfil...
متن کاملEvolutionary Functional Testing of an Automated Parking System
Evolutionary Testing is a promising approach for automating the testing of software-based systems. A number of papers have been published in the last years which have successfully applied evolutionary algorithms for test data generation. However, none of these papers address functional testing the testing of the system's logical behavior on the basis of the system specification which is, in pra...
متن کاملUse of Evolutionary Techniques for Symbolic Execution Based Testing
Evolutionary methods when used as a test data generator optimize the given input (usually called test case) according to a selected test coverage criterion encoded as a fitness function. Basically, the genetic algorithms and other Evolutionary techniques are based on pure random search. However, these algorithms adapt to the given problem. In the last decade lot of evolution based metaheuristic...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Journal of Systems and Software
دوره 81 شماره
صفحات -
تاریخ انتشار 2008